---
layout: example
categories: example/v1.0.0
version: v1.0.0
title: Well Known Text (WKT)
description: Loading and parsing WKT data with Leaflet-Omnivore
tags:
  - omnivore
---
<script src='{{site.tileApi}}/mapbox.js/plugins/leaflet-omnivore/v0.2.0/leaflet-omnivore.min.js'></script>

<div id='map'></div>

<script>
var map = L.mapbox.map('map', 'mapbox.streets').setView([0, -80], 8);
// The Well Known Text format is commonly used in database systems,
// and can represent geometries. Unlike other formats, it cannot
// represent properties.
omnivore.wkt.parse('POINT(-80 0)').addTo(map);
</script>
